export const PageItem = {
  title: '既往病史',
  commUrl: '/health_records/past_medical/pastMedicalInfo',
}

export const pastMedicalFields = {
  name: { show: true, label: '姓名', edit: false, type: 'text', required: true },
  idNumber: { show: true, label: '证件号码', edit: false, type: 'text', required: true },
  ifDisease: { show: true, label: '是否有疾病史', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifFamDis: { show: true, label: '是否有家族病史', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifGeneticDis: { show: true, label: '是否有遗传病史', edit: true, type: 'picker', dictCode: 'yes_no' },
  geneticDisDsc: { show: true, label: '遗传疾病疾病描述', edit: true, type: 'textarea' },
  ifOpera: { show: true, label: '是否有手术史', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifTrauma: { show: true, label: '是否有外伤史', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifInbloob: { show: true, label: '是否有输血史', edit: true, type: 'picker', dictCode: 'yes_no' },
  allergy: { show: true, label: '过敏史', edit: true, type: 'picker', dictCode: 'yes_no' },
  allergyDsc: { show: true, label: '其他过敏详细信息', edit: true, type: 'textarea' },
  expose: { show: true, label: '暴露史', edit: true, type: 'picker', dictCode: 'yes_no' },
  disableDsc: { show: true, label: '残疾情况', edit: true, type: 'textarea' },
  seeDate: { show: true, label: '就诊时间', edit: true, type: 'datetime' },
  seeId: { show: true, label: '就诊号（与health_see_doc_info就诊信息表表id关联）', edit: true, type: 'text' },
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  recordid: { show: true, label: '健康档案ID', edit: false, type: 'number' },
  createTime: { show: true, label: '创建时间', edit: false, type: 'datetime' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
